VindiPaymentGateways\VindiRoutes B

Total Complexity 84
Dependencies 1
Dependents 9
Total lines 603
Lines of code 311
Logical lines of code 162
Comment lines 132
Methods 35
Properties 3

Methods 35

Method Rating Maintainability Complexity Lines of code
getPaymentMethods()
A
50 8 27
isSubscriptionActive()
S
57 7 17
getMerchant()
S
62 5 10
createCustomerPaymentProfile()
S
61 4 12
isMerchantStatusTrialOrSandbox()
S
64 4 10
findProductByCode()
S
59 3 13
getPaymentProfile()
S
61 3 11
deleteBill()
S
62 3 11
findOrCreateProduct()
S
58 2 17
createSubscription()
S
64 3 9
updateSubscription()
S
65 3 8
acceptBankSlip()
S
72 2 6
getPlan()
S
65 2 9
getCharge()
S
69 2 6
findBillById()
S
65 2 9
refundCharge()
S
67 2 7
createBill()
S
70 2 6
hasPendingSubscriptionBills()
S
64 2 9
findProductById()
S
66 2 8
getSubscription()
S
71 2 5
activateSubscription()
S
71 2 5
suspendSubscription()
S
66 2 8
findCustomerByEmail()
S
65 2 8
findCustomerByCode()
S
65 2 8
findCustomerById()
S
66 2 8
createCustomer()
S
68 2 7
renewCharge()
S
64 1 11
updatePlan()
S
68 1 7
createPlan()
S
74 1 4
deleteCustomer()
S
68 1 7
createProduct()
S
74 1 4
updateProduct()
S
68 1 7
updateCustomer()
S
68 1 7
verifyCustomerPaymentProfile()
S
70 1 6
__construct()
S
77 1 4